﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PARK.Consumer.Entitys.Dto.ConsumStatis
{
    public class ConsumStatisRechargeListOutput
    {
        /* 
         *"date": "2022-08-01",
                "online": {
                    "total": 2,
                    "amount": 99.8
                },
                "offline": {
                    "total": 9,
                    "amount": 9199.8
                },
                "subtotal": {
                    "total": 9,
                    "amount": 9199.8
                }
        */
        public string date { get; set; }
        public int onlinetotal { get; set; }
        public decimal onlineamount { get; set; }
        public int offlinetotal { get; set; }
        public decimal offlineamount { get; set; }
        public int subtotaltotal { get; set; }
        public decimal subtotalamount { get; set; }
        public Online online { get; set; }
        public Offline offline { get; set; }
        public Subtotal subtotal { get; set; }

        public class Online
        {
            public int total { get; set; }
            public decimal amount { get; set; }
        }
        public class Subtotal
        {
            public int total { get; set; }
            public decimal amount { get; set; }
        }
        public class Offline
        {
            public int total { get; set; }
            public decimal amount { get; set; }
        }
    }
}
